package boot.controller;

import boot.entity.User;
import boot.vo.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @RequestMapping("/test")
    public ResponseResult test(User user){
        System.out.println("user = " + user);
        return ResponseResult.success();
    }
}
